/* pages/campCommunication/campCommunication.wxss */
page{
  background-color: #f5f5f5;
}
.collect-item{
  width: 94%;
  height: 207rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20rpx auto;
  background-color: #fff;
  border-radius: 30rpx;
  .collect-image-box {
    width: 200rpx;
    height: 207rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    // background-color: skyblue;
  }
  .collect-info {
    width: 300rpx;
    width: 70%;
    height: 207rpx;
    margin: 20rpx;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    
    .collect-address-name {
      padding: 15rpx 0rpx;
      color: #505050;
      font-size: 26rpx;
      font-weight: 600;
      font-family: PingFang SC;
    }
  }
}

.van-swipe-cell .van-swipe-cell__right {
  width: 130rpx;
  height: 100%;
  font-size: 30rpx;
  color: #fff;
  text-align: center;
  background-color: #f44;
  word-wrap: break-word;
  padding: 0 22rpx;
  box-sizing: border-box;
  /*文本垂直居中*/
  display: flex;
  align-items: center;
  justify-content: center;
}

// 添加营地动态
.add-scenic {
  width: 100%;
  padding: 20rpx;
  box-sizing: border-box;
  border-radius: 10rpx;
  height: 170rpx;
  background-color: #fff;
  border: 2rpx dotted #f3ab00;
  color: #f3ab00;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30rpx;
}
// 显示内容
.collect-info {
  width: 300rpx;
  width: 70%;
  height: 207rpx;
  margin: 20rpx;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  .auth-camp{
    padding: 10rpx 10rpx;
    margin-top: 15rpx;
    background-color: #2E2E2E;
    color: #FFC658;
    border-radius: 30rpx;
    font-size: 22rpx;
  }
  .collect-address-name {
    padding: 15rpx 0rpx;
    color: #505050;
    font-size: 26rpx;
    font-weight: 600;
    font-family: PingFang SC;
  }
  .collect-address-price {
    padding: 15rpx 0rpx;
    color: #505050;
    font-size: 26rpx;
    font-weight: 600;
    font-family: PingFang SC;
  }
  .collect-address-detaile {
    padding: 15rpx 0rpx;
    color: #505050;
    font-size: 26rpx;
    font-weight: 600;
    font-family: PingFang SC;
    /* 保持宽度自适应，根据内容自动调整 */
    width: auto; 
    /* 超出元素宽度的内容隐藏起来 */
    overflow: hidden; 
     /* 当文本溢出时，用省略号显示 */
    text-overflow: ellipsis;
    /* 文本不换行，强制在一行内显示 */
    white-space: nowrap; 
     /* 根据字体大小和希望显示的字数大致估算出的宽度，确保能较好地显示8个字左右，你可以根据实际情况微调 */
    max-width: 400rpx;
  }
  .collect-address-time {
    padding: 15rpx 0rpx;
    color: #60a018;
    // padding-left: 40%;
    // margin-top: -24.5%;
    font-size: 26rpx;
    font-weight: 600;
    font-family: PingFang SC;
  }
}
